import request from '../utils/request'
// 登录
export function sysLogin(data) {
  return request({ url: '/sys/login', method: 'post', data })
}
// 获取用户资料
export function sysProfile() {
  return request({ url: '/sys/profile', method: 'post' })
}
// 获取员工详情
export function sysUser(id) {
  return request({ url: '/sys/user/' + id, method: 'get' })
}
